<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type_name" disabled class="form-control" name="row[type_name]" type="text" value="{$row.type_name|htmlentities}">
        </div>
    </div>
 
    <div class="form-group">
        <label class="control-label  col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" disabled class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    
    
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('审核时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[sh_time]" disabled type="text" value="{$row.sh_time|htmlentities}">
        </div>
    </div>

          <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>
               <div class="radio">
                    {foreach name="statusList" item="vo"}
                    <?php if($key==0){ continue;} ?>
                    <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
                    {/foreach}
                    </div>
        </div>
        
      <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refuse_msg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refuse_msg" class="form-control" name="row[refuse_msg]" type="text" value="{$row.refuse_msg|htmlentities}">
        </div>
    </div>
        
            <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('温馨提醒')}:</label>
            <div class="col-xs-12 col-sm-8">
            <input id="c-refuse_msg" class="form-control" name="row[tips]" type="text" value="{$row.tips|htmlentities}">
        </div>
    </div>

        <!--  <div class="form-group">-->
        <!--    <label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>-->
        <!--   <div class="radio">-->
        <!--    {foreach name="statusList" item="vo"}-->
        <!--    <?php if($key==0){ continue;} ?>-->
        <!--    <label for="row[status]-{$key}"><input disabled id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> -->
        <!--    {/foreach}-->
        <!--    </div>-->
        <!-- </div>-->
        <!--  <div class="form-group">-->
        <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Refuse_msg')}:</label>-->
        <!--    <div class="col-xs-12 col-sm-8">-->
        <!--        <input id="c-refuse_msg" disabled class="form-control" name="row[refuse_msg]" type="text" value="{$row.refuse_msg|htmlentities}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--    <div class="form-group">-->
        <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Sh_time')}:</label>-->
        <!--    <div class="col-xs-12 col-sm-8">-->
        <!--        <input id="c-sh_time" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sh_time]" type="text" value="{:$row.sh_time?datetime($row.sh_time):''}">-->
        <!--    </div>-->
        <!--</div>-->
    

    
    
    

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" disabled step="0.01" name="row[price]" type="number" value="{$row.price}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Word_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-word_count" class="form-control" disabled name="row[word_count]" type="text" value="{$row.word_count|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_shooting')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_shooting" class="form-control" disabled name="row[start_shooting]" type="text" value="{$row.start_shooting|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" disabled class="form-control  datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    
    





    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control " disabled rows="5" name="row[desc]" cols="50">{$row.desc|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" class="form-control" disabled size="50" name="row[images]" type="textarea" value="{$row.images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" disabled id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" disabled id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-images"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Flair')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group"> 
                <input id="c-flair" class="form-control" disabled size="50" name="row[flair]" type="textarea" value="{$row.flair|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-flair" class="btn btn-danger faupload" data-input-id="c-flair" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-flair"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-flair" class="btn btn-primary fachoose" data-input-id="c-flair" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-flair"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-flair"></ul>
        </div>
    </div>
    
    
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
